package com.shurrik.aopdemo.init;

import org.springframework.beans.factory.FactoryBean;

/**
 * @Author: lip
 * @Date: 2022/02/24/下午5:15
 * @Description:
 */
public class TestFactoryBean implements FactoryBean<TestBean> {
    @Override
    public TestBean getObject() throws Exception {
        return new TestBean("lip");
    }

    @Override
    public Class<?> getObjectType() {
        return TestBean.class;
    }

    @Override
    public boolean isSingleton() {
        return true;
    }
}
